﻿using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ModelDto
{
    /// <summary>
    /// minIO 配置文件
    /// </summary>
    public class MinIOConfig : IOptions<MinIOConfig>
    {
        public MinIOConfig Value => this;

        /// <summary>
        /// 服务地址
        /// </summary>
        public string Server { get; set; }

        /// <summary>
        /// AccessKey
        /// </summary>
        public string AccessKey { get; set; }
        /// <summary>
        /// SecketKey
        /// </summary>
        public string SecketKey { get; set; }
        /// <summary>
        /// 公共池桶名称
        /// </summary>
        public string FilePollBucketName { get; set; }
        /// <summary>
        /// 公共池桶名称 -微信
        /// </summary>
        public string FilePollWXBucketName { get; set; }
        /// <summary>
        /// 富文本编辑器桶名称
        /// </summary>
        public string RichTextBucketName { get; set; }
        /// <summary>
        /// 供应商桶名称
        /// </summary>
        public string SupplierBucketName { get; set; }

        /// <summary>
        /// 产品桶名称
        /// </summary>
        public string ProductBucketName { get; set; }
    }
}
